package com.zrar.ak.gkpt.dao;

import com.zrar.ak.gkpt.model.bo.*;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @InterfaceName: IBusinessSchemeEfinementServerDao
 * @Description: 方案细化服务器端表Dao层
 * @Author: CaoTao
 * @Create: 2020/04/03
 */
@Repository("businessSchemeEfinementServer")
public interface IBusinessSchemeServerInfoDao extends Mapper<BusinessSchemeServerInfoBO> {
    int deleteServerlById(String id);

    int queryServerByUnitId(Map map);

    int insertInfo(List<BusinessSchemeServerInfoBO> serverList);

    int updateInfo(List<BusinessSchemeServerInfoBO> serverList);

    int queryByType(Map map);

    List<BusinessSchemeServerInfoBO> queryAllByBasicsId(String basicsId);
}
